package com.ztgf.commodity.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.commodity.models.bo.CommodityParamValueRelationSaveBO;
import com.ztgf.commodity.models.dto.CommodityParamValueRelationDTO;
import com.ztgf.commodity.models.vo.CommodityParamValueRelationVO;

import java.util.List;

/**
 * 商品参数信息关系表服务
 *
 * @author chenyu.wang
 * @Date 2020-06-15 14:59:24
 */
public interface ICommodityParamValueRelationService extends IService<CommodityParamValueRelationDTO> {
    boolean add(CommodityParamValueRelationSaveBO saveBO);

    /**
     * description: 根据商品id获取商品参数信息详情,用于商品详情页
     * param: [goodsId]
     * author: chenyu.wang
     * date: 2020-06-15
     * return: java.util.List<com.ztgf.commodity.models.vo.CommodityParamValueRelationVO>
     */
    List<CommodityParamValueRelationVO> queryGoodsParamDetails(Long goodsId);
}
